package com.qyer.lxp.common.framework.threadpool;

import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;

/**
 * Created by jiangping on 16/5/20.
 */
public class AroundAdviceFutureTask<V> extends FutureTask<V> {
	
	private IAroundAdviceCallable aroundAdviceCallable;

	public AroundAdviceFutureTask(Callable<V> callable) {
		super(callable);
        this.aroundAdviceCallable = (IAroundAdviceCallable)callable;
	}
	
	public AroundAdviceFutureTask(Runnable runnable, V result) {
		super(runnable, result);
	}
	
	public IAroundAdviceCallable getArounAdviceCallable() {
		return aroundAdviceCallable;
	}
	
}
